spinbutton: remove unused code
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 1 May 2014 17:35:46 +0000 (19:35 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 9 May 2014 18:02:41 +0000 (11:02 -0700)
gtk/gtkspinbutton.c

index db39c31ab6e8a3334c8510eb2a46fee25cc2b060..5b5089433fcc47fc2b9ce4a7d973150037a1e813 100644 (file)
@@ -1165,14 +1165,12 @@ gtk_spin_button_get_preferred_width (GtkWidget *widget,
   if (gtk_entry_get_width_chars (entry) < 0)
     {
       gint width, w;
-      gboolean interior_focus;
       gint focus_width;
       GtkBorder borders;
       PangoLayout *layout;
       gchar *str;
 
       gtk_style_context_get_style (style_context,
-                                   "interior-focus", &interior_focus,
                                    "focus-line-width", &focus_width,
                                    NULL);